﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common
{
    public class IOFactory
    {
        /// <summary>
        /// 获取IO卡对象, 1 表示Fast 2表示PISO730
        /// </summary>
        /// <param name="i"></param>
        /// <returns></returns>
        public static I_IO_Card getIO_Instance(int i)
        {
            if (i==1)
                return FAST_IO.instance;
            else if (i == 2)
                return PISO730.instance;
            return null;
        }
    }
}
